package com.abvnet.project.water.project.domain;

import com.abvnet.framework.aspectj.lang.annotation.Excel;
import com.abvnet.framework.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * 项目日志表 project_log
 * 
 * @author duj
 * @date 2019-07-19
 */
@Getter
@Setter
public class ProjectLog extends BaseEntity {
	private static final long serialVersionUID = 1L;
	
	/** 日志ID */
	private Long logId;
	/** 项目ID */
	private Long projectId;
	/** 用户ID */
	private Long userId;
    @Excel(name = "日志日期", type = Excel.Type.ALL)
    private String logDateStr;
	/** 姓名 */
    @Excel(name = "姓名", type = Excel.Type.EXPORT)
	private String userName;
	/** 天气情况 */
    @Excel(name = "天气情况", type = Excel.Type.ALL)
	private String logWeather;
	/** 日志日期 */
    @JsonFormat(pattern="yyyy-MM-dd")
	private Date logDate;
    /** 进水量 */
    @Excel(name = "进水量", type = Excel.Type.ALL)
    private Integer inIntake;
    /** 出水量 */
    @Excel(name = "出水量", type = Excel.Type.ALL)
    private Integer outIntake;
    /** COD */
    @Excel(name = "进水COD", type = Excel.Type.ALL)
    private BigDecimal inCod;
    /** 氨氮 */
    @Excel(name = "进水氨氮", type = Excel.Type.ALL)
    private BigDecimal inNh3N;
    /** 总氮 */
    @Excel(name = "进水总氮", type = Excel.Type.ALL)
    private BigDecimal inTotalN;
    /** 总磷 */
    @Excel(name = "进水总磷", type = Excel.Type.ALL)
    private BigDecimal inTotalP;
    /** PH */
    @Excel(name = "进水PH", type = Excel.Type.ALL)
    private BigDecimal inPh;
    /** SV30 */
    @Excel(name = "进水SV30", type = Excel.Type.ALL)
    private BigDecimal inSv30;
    /** DO */
    @Excel(name = "进水DO", type = Excel.Type.ALL)
    private BigDecimal inDo;
    /** 温度 */
    @Excel(name = "进水温度", type = Excel.Type.ALL)
    private Integer inTp;
    /** COD */
    @Excel(name = "出水COD", type = Excel.Type.ALL)
    private BigDecimal outCod;
    /** 氨氮 */
    @Excel(name = "出水氨氮", type = Excel.Type.ALL)
    private BigDecimal outNh3N;
    /** 总氮 */
    @Excel(name = "出水总氮", type = Excel.Type.ALL)
    private BigDecimal outTotalN;
    /** 总磷 */
    @Excel(name = "出水总磷", type = Excel.Type.ALL)
    private BigDecimal outTotalP;
    /** PH */
    @Excel(name = "出水PH", type = Excel.Type.ALL)
    private BigDecimal outPh;
    /** SV30 */
    @Excel(name = "出水SV30", type = Excel.Type.ALL)
    private BigDecimal outSv30;
    /** DO */
    @Excel(name = "出水DO", type = Excel.Type.ALL)
    private BigDecimal outDo;
    /** 温度 */
    @Excel(name = "出水温度", type = Excel.Type.ALL)
    private Integer outTp;
	/** 工艺调整情况 */
    @Excel(name = "工艺调整情况", type = Excel.Type.ALL)
	private String logAdjust;
	/** 突发情况及应对说明 */
    @Excel(name = "突发情况及应对说明", type = Excel.Type.ALL)
	private String logSudden;
	/** 存在的问题 */
    @Excel(name = "存在的问题", type = Excel.Type.ALL)
	private String logProblem;
	/** 明天的工作计划 */
    @Excel(name = "明天的工作计划", type = Excel.Type.ALL)
	private String logWorkPlan;
	private Long deptId;
	private List<ProjectLogMicro> microList;
	private String projectName;
}